@(message: String,jobs:List[String])(implicit session:Session)
@import views.html.admin._

@main(message,scripts=js,modals=script) {
<div class="layui-border-box">
    <h1>计划任务-任务执行</h1>
</div>
<hr>
<div class="layui-border-box">
    <div class="layui-row layui-col-space2">
            <form class="layui-form" action="">
                <div class="layui-col-md4">
                    <label class="layui-form-label">日期</label>
                    <div class="layui-input-block" >
                        <input type="text" name="sdate" class="layui-input" placeholder="yyyy-MM-dd HH:MM:SS ~ yyyy-MM-dd HH:MM:SS" id="datetimerev" value="">

                    </div>
                </div>

                <div class="layui-col-md2">
                    <label class="layui-form-label">状态</label>
                    <div class="layui-input-block">
                        <select name="status" lay-verify="required">
                            <option value="-1">全部</option>
                            <option value="0">未知</option>
                            <option value="1">准备</option>
                            <option value="2">完成</option>
                            <option value="3">错误</option>
                        </select>
                    </div>
                </div>

                <div class="layui-col-md3">
                    <label class="layui-form-label">任务</label>
                    <div class="layui-input-block">
                        <select name="p1" lay-verify="required">
                            <option value="all">全部</option>
                            @for(s<-jobs){
                            <option value="@s">@s</option>
                                }
                        </select>
                    </div>
                </div>

                <div class="layui-col-md3">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="jsonJobsEx">立即提交</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
    </div>
            <table id="tableJobsEx" lay-filter="test"></table>

</div>

}
@js = {<script src='@routes.Assets.versioned("js/tasks_jobex.js")' type="text/javascript"></script>}
@script = {

}
